var Paddle = function () {
  // var img = imageFromPath('paddle.png')
  var o = {
    // img: img,
    x: 100,
    y: 550,
    width: 200,
    height: 20,
    speed: 10,
  }
  o.moveLeft = function () {
    o.x -= o.speed
  }
  o.moveRight = function () {
    o.x += o.speed
  }
  o.collide = function (ball) {
    return collide(o, ball)
  }
  return o
}
